package com.abaaba.project2.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminIndexViewVO {

    /**
     * errno : 0
     * data : {"goodsTotal":237,"userTotal":3,"productTotal":242,"orderTotal":32}
     * errmsg : 成功
     */

    private int errno;
    private DataBean data;
    private String errmsg;

    public int getErrno() {
        return errno;
    }

    public void setErrno(int errno) {
        this.errno = errno;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DataBean {
        /**
         * goodsTotal : 237
         * userTotal : 3
         * productTotal : 242
         * orderTotal : 32
         */

        private long goodsTotal;
        private long userTotal;
        private long productTotal;
        private long orderTotal;


    }
}
